(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/home/components/second-service/second-service" ], {
    "0e6a": function(e, t, n) {
        (function(e) {
            var i = n("4ea4").default;
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var s = i(n("ded3")), o = n("3be3"), r = n("48b8"), c = n("fd0e"), a = n("665c"), u = n("05dc"), l = i(n("0613")), p = {};
            p.props = {
                active: {
                    type: Number,
                    default: 0
                },
                appear: {
                    type: Boolean,
                    default: !1
                }
            }, p.setup = function(t, n) {
                var i = t, p = (0, c.ref)(0), d = (0, a.useState)(), f = (d.selectedService, d.serviceList), v = (d.userVariables, 
                (0, a.useGetters)()).withoutCompleteOrderAndSmallCarCache, m = (0, c.computed)(function() {
                    return function(e) {
                        return String(e.city_id) + e.business_id;
                    };
                }), _ = (0, c.computed)(function() {
                    var e = [];
                    return f.value.map(function(t) {
                        2 === Number(t.entry_type) && e.push(t);
                    }), e = (0, r.chunkArrayInGroups)(e, 5);
                });
                function g(e) {
                    var t = [], n = _.value[e] || [];
                    return null == n || n.map(function(e) {
                        t.push(Number(e.service_type));
                    }), t;
                }
                return (0, c.watch)(function() {
                    return i.appear;
                }, function(e) {
                    e && _.value.length > 0 && (0, u.statistics)("homepage_second_business_expo", {
                        business_list: JSON.stringify(g(0))
                    });
                }), {
                    swiperCurrent: p,
                    withoutCompleteOrderAndSmallCarCache: v,
                    createKey: m,
                    secondLevelServiceList: _,
                    itemTap: function(t) {
                        var n, i, r = null == t || null === (n = t.currentTarget) || void 0 === n || null === (i = n.dataset) || void 0 === i ? void 0 : i.item;
                        if ((0, u.statistics)("homepage_business_select", (0, s.default)((0, s.default)({}, l.default.getters.commonStatisticsState), {}, {
                            business_type: Number(r.service_type),
                            position_type: "二级入口",
                            business_abtest: "业务栏_实验组",
                            business_name: r.title,
                            is_denoise: 2
                        })), 2 === Number(r.type)) e.navigateTo({
                            url: "/pages/adWebview/index?target=" + encodeURIComponent(r.action_link)
                        }); else if (3 === Number(r.type) && r.action_link) {
                            if ((0, o.navigateToServicePage)({
                                appId: r.wx_appid,
                                path: r.action_link
                            }, 2)) return;
                            (0, o.jumpMiniProgram)({
                                appId: r.wx_appid,
                                path: r.action_link
                            }).then(function(e) {
                                (0, u.statistics)("homepage_business_jump", {
                                    business_type: Number(r.service_type),
                                    position_type: "二级入口",
                                    jump_status: 0 === (null == e ? void 0 : e.ret) ? 1 : 0
                                });
                            });
                        }
                    },
                    serviceChange: function(e) {
                        p.value = e.detail.current;
                        var t = JSON.stringify(g(p.value));
                        (0, u.statistics)("homepage_second_business_slide", {
                            business_list: t
                        });
                    }
                };
            }, p.components = Object.assign({
                SwiperDot: function() {
                    n.e("components/swiper-dot/swiper-dot").then(function() {
                        return resolve(n("5e60"));
                    }.bind(null, n)).catch(n.oe);
                }
            }, p.components);
            var d = p;
            t.default = d;
        }).call(this, n("543d").default);
    },
    1264: function(e, t, n) {
        n.r(t);
        var i = n("9f49"), s = n("9822");
        for (var o in s) [ "default" ].indexOf(o) < 0 && function(e) {
            n.d(t, e, function() {
                return s[e];
            });
        }(o);
        n("57b7");
        var r = n("f0c5"), c = Object(r.a)(s.default, i.b, i.c, !1, null, null, null, !1, i.a, void 0);
        t.default = c.exports;
    },
    "57b7": function(e, t, n) {
        var i = n("9419");
        n.n(i).a;
    },
    9419: function(e, t, n) {},
    9822: function(e, t, n) {
        n.r(t);
        var i = n("0e6a"), s = n.n(i);
        for (var o in i) [ "default" ].indexOf(o) < 0 && function(e) {
            n.d(t, e, function() {
                return i[e];
            });
        }(o);
        t.default = s.a;
    },
    "9f49": function(e, t, n) {
        n.d(t, "b", function() {
            return s;
        }), n.d(t, "c", function() {
            return o;
        }), n.d(t, "a", function() {
            return i;
        });
        var i = {
            swiperDot: function() {
                return n.e("components/swiper-dot/swiper-dot").then(n.bind(null, "5e60"));
            }
        }, s = function() {
            var e = this, t = (e.$createElement, e._self._c, e.secondLevelServiceList.length), n = t ? e.__map(e.secondLevelServiceList, function(t, n) {
                return {
                    $orig: e.__get_orig(t),
                    g1: e.secondLevelServiceList.length,
                    l0: e.__map(t, function(t, n) {
                        return {
                            $orig: e.__get_orig(t),
                            m0: e.createKey(t),
                            g2: t.corner_text ? t.corner_text.length : null
                        };
                    })
                };
            }) : null, i = t ? e.secondLevelServiceList.length : null, s = t && i > 1 ? e.secondLevelServiceList.length : null;
            e.$mp.data = Object.assign({}, {
                $root: {
                    g0: t,
                    l1: n,
                    g3: i,
                    g4: s
                }
            });
        }, o = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/home/components/second-service/second-service-create-component", {
    "pages/home/components/second-service/second-service-create-component": function(e, t, n) {
        n("543d").createComponent(n("1264"));
    }
}, [ [ "pages/home/components/second-service/second-service-create-component" ] ] ]);